package com.aaa.project.zhreport.controller.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author baibin
 * @version 1.0
 * @date 2025/4/16 14:30
 * @description YwfxDataApplyExecVariablesDTO
 */
@Data
public class YwfxDataApplyExecVariablesDTO {

    /**
     * 字段名称
     */
    private String fieldName;

    private String createBy;

    private String createTime;

    private String delFlag;

    private Integer id;

    private String remark;

    private Integer templateId;

    private String updateBy;

    private String updateTime;
    /**
     * 字段类型
     */
    private String fieldType;

    /**
     * 是否必填
     */
    private String required;

    /**
     * 字段值
     */
    private String value;

    /**
     * 字段值数组
     */
    private String be;

    /**
     * 操作符
     */
    private String operator;

    /**
     * 操作符等于 between 的两个值
     */
    private String startValue;

    private String endValue;

    /**
     * 日期范围
     * 格式：yyyy-MM-dd HH:mm:ss
     * 示例：2023-01-01 00:00:00,2023-01-02 00:00:00
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date[] dateRange;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date date;

}
